﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Migraine.BLL;

namespace Migraine.MyUC.UCHienThi
{
    public partial class ucDanhSachBN : UserControl
    {
        BenhNhanBUO bnBUO = new BenhNhanBUO();
        public ucDanhSachBN()
        {
            InitializeComponent();
            loadData();
        }

        void loadData()
        {
            dataGridView1.AutoGenerateColumns = false;
            dataGridView1.DataSource = bnBUO.GetAll();
        }
    }
}
